//
//  ZDHeaderView.m
//  ZDPension
//
//  Created by 刘甲奇 on 2017/6/13.
//  Copyright © 2017年 maker. All rights reserved.
//

#import "ZDHeaderView.h"

@interface ZDHeaderView()

/**
 <#Description#>
 */
@property(nonatomic,strong)headerViewBlock block;

@end

@implementation ZDHeaderView

- (void)headerViewClick:(headerViewBlock)block
{
    _block = block;
}

- (IBAction)packageClick:(UIButton *)sender
{
    _block(sender.tag);
}
- (IBAction)orderClick:(UIButton *)sender
{
    _block(sender.tag);
}
- (IBAction)purchaseClick:(UIButton *)sender
{
    _block(sender.tag);
}
- (IBAction)messageClick:(UIButton *)sender
{
    _block(sender.tag);
}


@end
